package payment;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import dto.MemberPayDTO;

public class PayPal extends UnicastRemoteObject implements IPaymentMethod {
	private String account;

	public PayPal() throws RemoteException  {
		super();
	}
	public PayPal(String account) throws RemoteException {
		super();
		this.account = account;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	@Override
	public void pay(MemberPayDTO mpd) throws RemoteException {
		// TODO hay que implementarlo
		
	}
	@Override
	public void addExpected(double amount) throws RemoteException {
		// TODO Auto-generated method stub
		
	}
	
	@Override
	public String toString() {
		return "PayPal";
	}

}
